﻿@{
	Layout = "~/Views/Shared/_Layout.cshtml";
}
@section header{
	@RenderSection("header", required: false)
}

@section quickmenu{
	<td style="padding-right: 0px; padding-left: 10px;visibility:hidden;">
		<span style="cursor: pointer;" title="返回...">
			<i class="icon-reply icon-2x pull-left icon-border crm-bu-style"></i>
		</span>
	</td>
}

<table border="0" cellspacing="0" cellpadding="0" style="margin:0 auto 10px;width:98%;">
	<tr>
		<td class="detail-left-td">
			<div class="detail-panel-div">
				<table border=0 cellspacing=0 cellpadding=0 width=100% v-for="g in menus">
					<tr class="detail-heading" style="height:25px;">
						<td nowrap>&nbsp;&nbsp;{{g.Name}}</td>
					</tr>
					<tr v-for="m in g.Children" @@click="viewMenu(m)">
						<td class="detail-list-div" :class="{'detail-list-div-on':curmenu==m.Code}">
							{{m.Name}}
						</td>
					</tr>
				</table>
			</div>
		</td>
		<td class="detail-content-td">
			<table width="100%" border="0" cellspacing="0" cellpadding="0" style="table-layout:fixed;">
				<tr>
					<td valign=top>
						@RenderBody()
					</td>
				</tr>
			</table>
		</td>
	</tr>
</table>
@section footer{
	@await Component.InvokeAsync("AdminMenu")
	<script>
		var pageBaseData = {
			serviceCode: '4EA7FD46F1',
			global: globalData,
			menus: pageMenuData,
			curmenu:'@(ViewBag.CurrentMenu)',
		};
	</script>
	@RenderSection("footer", required: false)
}
